package com.demo8;

/**
 * Created by Administrator on 2017/3/27.
 */
public class YiChang3 {
    public static void main(String[] args) {
        try {
            int a = 15 / 0;
        } catch (ArithmeticException e) {
            System.out.println("捕获ArithmeticException异常");
        } catch (Exception e) {
            System.out.println("捕获Exception异常");
        }
    }
}
